using System;
using System.Collections.Generic;
using System.Text;

namespace Hermes.Framework.FileSystem
{
    public interface INonTransactableFileSystem : IDisposable
    {
        void Connect(ConnectionInfo connection);

        void CreateFile(string fileName);

        void Copy(string from, string to);

        //void CopyDirectory(string from, string to);

        void Rename(string from, string to);

        //void RenameDirectory(string from, string to);

        void Delete(string fileName);

        bool Exists(string fileName);

        void CreateDirectory(string directoryName);

        bool IsDirectory(string directoryName);

        void RemoveDirectory(string directoryName);

        int GetItemCount(string directoryName);

        string GetItem(string directoryName, int index);

        void RenameDirectory(string from, string to);
    }
}
